package com.ssm.hj.service;

import com.github.pagehelper.PageInfo;
import com.ssm.hj.page.Page;
import com.ssm.hj.search.MemberSearch;
import com.ssm.hj.view.MemberStatisticsView;
import com.ssm.hj.view.MemberView;
import com.ssm.pojo.Member;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

public interface MemberService {
    //阿杰 条件查询会员信息
    PageInfo<MemberView> searchQueryMemberService(Page<MemberSearch> page) throws Exception;
    //阿杰 修改状态
    int updateState(String id,int state) throws Exception;
    //阿杰 新增会员
    int saveService(Member member) throws Exception;

    List<Member> queryMemberByName(String name);

    Map<String, MemberStatisticsView> queryMembertj(String sdate, String enddate);


}
